package com.bambooshoot;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup;

/**
 * 启动程序
 *
 * @author mxc
 */
@Slf4j
@SpringBootApplication
public class BambooshootApplication {

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(BambooshootApplication.class);
        application.setApplicationStartup(new BufferingApplicationStartup(2048));
        application.run(args);
        log.info("=================================================");
        log.info("==========【Bambooshoot-Plus】启动成功==========");
        log.info("==================================================");
    }

}
